//For value result return...
#ifndef VALUEPVD_H_
#define VALUEPVD_H_

#include <math.h>
#include <iostream>

long double calctr(long double f, char mcr, long double x)
{
         if (mcr == '+')
         {
             return f + x;
         }
         else if (mcr == '-') {
             return f - x;
         }
         else if (mcr == '*' || mcr == 'x' || mcr == 'X') {
             return f * x;
         }
         else if (mcr == '/') {
             return f / x;
         }
         else if (mcr == '^')
         {
             return pow(f,x);
         }
         else if (mcr == '%')
         {
         return (int)f % (int)x;
         }
}
using namespace std;
#endif

//  (//▽//)
